package com.idrive.activity;

import com.idrive.R;

import android.app.Activity;
import android.content.Intent;
import android.os.Bundle;
import android.view.View;
import android.widget.Button;

public class CallManagerActivity extends Activity {

	public void onCreate(Bundle savedInstanceState) {
		super.onCreate(savedInstanceState);
		setContentView(R.layout.activity_call_manager);

		Button settingsButton = (Button) findViewById(R.id.settingsButton);
		settingsButton.setOnClickListener(new View.OnClickListener() {
			public void onClick(View v) {

				//setContentView(R.layout.activity_settings);
				Intent myIntent = new Intent(CallManagerActivity.this, SettingsActivity.class);

				CallManagerActivity.this.startActivity(myIntent);
			}

		});

		Button callLogButton = (Button) findViewById(R.id.callLogButton);
		callLogButton.setOnClickListener(new View.OnClickListener() {
			public void onClick(View v) {

				Intent myIntent = new Intent(CallManagerActivity.this, CallLogActivity.class);

				CallManagerActivity.this.startActivity(myIntent);
			}

		});
	}
}
